/*
 * Copyright 2020-2030 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

package com.woodws.fresh.im.api.dto

import io.swagger.annotations.*

import java.time.LocalDateTime
import java.io.Serializable

/**
 * 好友分组表Dto
 * @author maoxiaodong
*/
@ApiModel(value = "好友分组表")
data class ImFriendGroupDto(@ApiModelProperty(value = "id") var id: Long? = null): Serializable{

    /**
    * 分组名称
    */
    @ApiModelProperty(value = "分组名称")
    var name: String? = null

    /**
    * 所属用户id
    */
    @ApiModelProperty(value = "所属用户id")
    var userId: Long? = null

    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    var createdDate: LocalDateTime? = null

    /**
    * 创建人
    */
    @ApiModelProperty(value = "创建人")
    var createdBy: Long? = null

    /**
    * 最后更新时间
    */
    @ApiModelProperty(value = "最后更新时间")
    var lastModifiedDate: LocalDateTime? = null

    /**
    * 最后更新人
    */
    @ApiModelProperty(value = "最后更新人")
    var lastModifiedBy: Long? = null

    /**
    * 租户ID
    */
    @ApiModelProperty(value = "租户ID")
    var tenantId: Long? = null

    /**
    * 逻辑删除（0：已删除，1：未删除）
    */
    @ApiModelProperty(value = "逻辑删除（0：已删除，1：未删除）")
    var delFlag: Int = 1
}